package org.hi.trip.service.impl;

import java.util.List;

import org.hi.framework.paging.PageInfo;
import org.hi.trip.model.TripPrice;
import org.hi.framework.service.impl.ManagerImpl;
import org.hi.trip.service.TripPriceManager;

public class TripPriceManagerImpl extends ManagerImpl implements TripPriceManager{
    
    protected void preSaveObject(Object obj) {
        super.preSaveObject(obj);

    }

    protected void postSaveObject(Object obj) {
        super.postSaveObject(obj);

    }

    protected void preRemoveObject(Object obj) {
        super.preRemoveObject(obj);
        
    }

    protected void postRemoveObject(Object obj) {
        super.postRemoveObject(obj);
        
    }
    
    public void saveTripPrice(TripPrice tripPrice){
    	saveObject(tripPrice);
    
    }

    public void removeTripPriceById(Integer id){
    	removeObjectById(id);
    	
    }

    public TripPrice getTripPriceById(Integer id){
   		return (TripPrice) getObjectById(id);
    }

    public List<TripPrice> getTripPriceList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }

    public void saveSecurityTripPrice(TripPrice tripPrice){
    	saveObject(tripPrice);
    
    }

    public void removeSecurityTripPriceById(Integer id){
    	removeObjectById(id);
    	
    }

    public TripPrice getSecurityTripPriceById(Integer id){
   		return (TripPrice) getObjectById(id);
    }

    public List<TripPrice> getSecurityTripPriceList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }    
}
